//
//  main.m
//  匿名对象
//
//  Created by 郭志远 on 2023/11/28.
//

#import <Foundation/Foundation.h>
#import "Person.h"
#import "Iphone.h"

int main(int argc, const char * argv[]) {
    
    Person *p = [Person new];
    p->_name = @"aaa";
    p->_age = 12;
    [p say];
    [p signal:[Iphone new]];
    
    [Person new]->_name = @"asas";
    [Person new]->_age = 12;
    [[Person new] say];
    
    [Iphone brand];
    return 0;
}
